package com.juno.cafenoa;

//상수선언을 위한 Class.
//해당프로젝트에서 있어야하는 상수는 모두 이곳에 선언바람

public class Constants {
	public static final String		CAFE_NOA_VERSION			= "0.01";
	
	public static final String		GCM_SERVICE_REGIST			= "gcm_reg";
	//최초구동인지 아닌지 나타내기 위한 flag.
	public static final String		CAFE_REGIST_STATE			="CAFE_REGIST";
	//Login->Password 로 갈때 필요한 상수
	public static final int 		REQUEST_PASSWORD_SET 		= 1000;
	//Regedit ->password로 갈때 필요한 상수.
	public static final int 		REQUEST_PASSWORD_REGEDIT 	= REQUEST_PASSWORD_SET+10;
	//Password를 프리퍼런스와 비교할때 필요한 상수.
	public static final int 		REQUEST_PASWORD_CONFIRM		= REQUEST_PASSWORD_SET+20;
	//ID 관련 상수
	public static final String 		USER_ID 					= "PREFERENCE_USER_ID";
	//포인트 관련 상수
	public static final String 		USER_POINT 					= "PREFERENCE_USER_POINT";
	//회원정보관련 상수(등급)
	public static final String		USER_GRADE					= "PREFERENCE_USER_GRADE";
	
	public static final String		NOTIFICATION_START			= "INTENT_ACTION_NOTI";
	
	//패스워드 관련 상수
	public static final String 		USER_PASSWORD 				= "PREFRENCE_USER_PASSWORD";
	public static final String 		USER_PASSWORD_STRING 		= "PASSWORD";
	public static final String 		USER_PASSWORD_MODE_SET 		= "PASSWORD_SET";
	public static final String 		USER_PASSWORD_MODE_CONFIRM 	= "PASSWORD_CONFIRM";
	public static final String		USER_PASSWORD_EQUAL			= "PASSWORD_EQUAL";
	
	public static final int 		PASSWORD_SET 				= 2000;	//패스워드 액티비티 실행시 모드 설정
	public static final int 		PASSWORD_RESET 				= PASSWORD_SET+100;
	public static final int 		PASSWORD_CONFIRM 			= PASSWORD_SET+200;
	public static final int 		PASSWORD_SET_LONGIN 		= PASSWORD_SET+300;
	public static final int 		PASSWORD_SET_REGEDIT 		= PASSWORD_SET+400;
		
	//PUSH 알람 관련 상수
	public static final String 		GET_PUSH_ITEM 				= "PREFERENCE_PUSH_GET";
	
	//CART PRICE 상수
	public static final int 		TOTAL_PRICE_ADDITION 		= 0;
	public static final int 		TOTAL_PRICE_SUBTRACTION 	= 1;
	public static final int 		TOTAL_PRICE_RESET 			= 1000;
	
	//네트워크 관련 RESULT CODE 정의.
	public static final int 		NETWORK_SUCCESS 			= 200;
	public static final int 		INVALID_JSON_DATA 			= 201;
	public static final int 		MYSQL_ERROR 				= 202;
	public static final int 		ID_LOGIN_ERROR 				= 401;
	public static final int 		PASSWORD_LOGIN_ERROR 		= 402;
	public static final int 		SERVER_CONNECTION_ERROR 	= 500;
	
	//메뉴의 DB VERSION 이 맞는지 확인할수 있는 FLAG
	public static final String 		CAFENOA_MENU_DB				= "PREFERENCE_DB_VERSION";

}
